For example, system designers could create an internal interface package to utilize third-party billing code but only expose interfaces to those packages that use the billing code.
例如,系统设计师可以创建一个内部接口包来利用第三方记帐代码,但是只对这些使用记帐代码的包公开接口。
Package. This creates a level of flexibility: If another billing package from a third party becomes more advantageous to utilize, then only one package should be affected by the change.
这创建了一定级别的灵活性:如果有了另一个第三方记帐包更加有利用价值,那么应该只有一个包会受到变更的影响。
Not only does the dao package now directly utilize a third-party billing package, but another package that wasn't even intended to use any billing code directly references both billing packages!
现在不仅 dao 包直接利用第三方记帐包,而且另一个甚至不想直接使用任何记帐代码的包也引用了这两个记帐包!
应用推荐